Simple project that shows how to make a DLL in Delphi. It includes two DLL functions: a simple procedure that makes a message dialog that shows the time, and another simple procedure that creates a database editor form, both of which exist in the DLL. Full text of a lecture I gave on this topic last year is also included.
Full source code is included for Delphi 1, and with a recompile should work in later Delphi versions.